package org.trader.proj.Pojo;

import java.sql.Timestamp;

/**
 * TblInfo entity. @author MyEclipse Persistence Tools
 */

public class TblInfo implements java.io.Serializable {

	// Fields
	private static final long serialVersionUID = -8747504587895721507L;
	private Integer infoId;
	private TblInfoCate tblInfoCate;
	private String title;
	private Timestamp publishTime;
	private String status;
	private String content;

	// Constructors

	/** default constructor */
	public TblInfo() {
	}

	/** minimal constructor */
	public TblInfo(String title, Timestamp publishTime, String status,
			String content) {
		this.title = title;
		this.publishTime = publishTime;
		this.status = status;
		this.content = content;
	}

	/** full constructor */
	public TblInfo(TblInfoCate tblInfoCate, String title,
			Timestamp publishTime, String status, String content) {
		this.tblInfoCate = tblInfoCate;
		this.title = title;
		this.publishTime = publishTime;
		this.status = status;
		this.content = content;
	}

	// Property accessors

	public Integer getInfoId() {
		return this.infoId;
	}

	public void setInfoId(Integer infoId) {
		this.infoId = infoId;
	}

	public TblInfoCate getTblInfoCate() {
		return this.tblInfoCate;
	}

	public void setTblInfoCate(TblInfoCate tblInfoCate) {
		this.tblInfoCate = tblInfoCate;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Timestamp getPublishTime() {
		return this.publishTime;
	}

	public void setPublishTime(Timestamp publishTime) {
		this.publishTime = publishTime;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

}